Skip to content

feat(react-query): add IsMutating component - #1976

Open
fe-dudu wants to merge 2 commits into
toss:mainfrom
fe-dudu:is-mutating-component
Open

feat(react-query): add IsMutating component#1976
fe-dudu wants to merge 2 commits into
toss:mainfrom
fe-dudu:is-mutating-component

Conversation

@fe-dudu

@fe-dudu fe-dudu commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Overview

#1974

Add experimental <IsMutating/> to @suspensive/react-query.

This component provides a render-prop wrapper around TanStack Query’s useIsMutating, matching the existing <IsFetching/> API style. It is available for both React Query v4 and v5 packages, and exported through the version-switching @suspensive/react-query package.

Included:

  • Add <IsMutating/> to react-query-4 and react-query-5
  • Export it from @suspensive/react-query, v4, and v5
  • Add type tests and v4 runtime forwarding test
  • Add English and Korean docs
  • Add changeset for the new API

PR Checklist

  • I did below actions if need
  1. I read the Contributing Guide
  2. I added documents and tests.

@changeset-bot

changeset-bot Bot commented Jun 14, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0c24e95

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@suspensive/react-query-4 Minor
@suspensive/react-query-5 Minor
@suspensive/react-query Minor
@suspensive/react Minor
@suspensive/jotai Minor
@suspensive/codemods Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coauthors

coauthors Bot commented Jun 14, 2026

Copy link
Copy Markdown

People can be co-author:

Candidate Reasons Count Add this as commit message
@fe-dudu #1976 1 Co-authored-by: fe-dudu <101170386+fe-dudu@users.noreply.github.com>
@codecov-commenter #1976 (comment) 1 Co-authored-by: codecov-commenter <65553080+codecov-commenter@users.noreply.github.com>

@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

@fe-dudu is attempting to deploy a commit to the Toss Team on Vercel.

A member of the Team first needs to authorize it.

@codecov-commenter

codecov-commenter commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.24%. Comparing base (38703d1) to head (0c24e95).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1976      +/-   ##
==========================================
+ Coverage   93.22%   93.24%   +0.02%     
==========================================
  Files          42       43       +1     
  Lines         664      666       +2     
  Branches      164      163       -1     
==========================================
+ Hits          619      621       +2     
  Misses         42       42              
  Partials        3        3              
Components Coverage Δ
@suspensive/react 100.00% <ø> (ø)
@suspensive/react-query 95.83% <ø> (ø)
@suspensive/react-query-4 100.00% <100.00%> (ø)
@suspensive/react-query-5 100.00% <ø> (ø)
@suspensive/jotai 100.00% <ø> (ø)
@suspensive/codemods 81.60% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants